﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台--文章管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>images/style.css" />
    <base target="_self"/>

    <script src='<?php echo isset($skin)?$skin:"";?>js/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/dist/dialog-min.js"></script>
    <script src="<?php echo isset($skin)?$skin:"";?>js/admin.js"></script>
    <script type="text/javascript">
        <!--
        $(document).ready(function () {
            $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
        });
        //-->
    </script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>/js/validate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate-plugin.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/form.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artDialog.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/iframeTools.js"></script>
<link rel="stylesheet" href="<?php echo isset($skin)?$skin:"";?>js/artdialog.css" type="text/css">
</head>
<body>
<div class="hh6"></div>
<script language="javascript" type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/My97DatePicker/WdatePicker.js"></script>
<div class="searchbar">
    <form action="?" method="get" name="searchListForm">
        <input type="hidden" name="c" value="article">
        按标题: <input name="title" type="text" value="<?php echo isset($title)?$title:"";?>">

        <button class="btn" type="submit" onclick="changeAction(false)"><span class="sel">筛 选</span></button>
    </form>
</div>
<script src='js/admin.js' type="text/javascript"></script> 
<form name="form1" action="" method="post">
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
    <thead>
<tr class="n_bt"><td colspan="9" align="center">管理系统</td></tr>
  <tr>
    <td align="center"  class="thbt hr">ID</td>
    <td align="center"  class="thbt hr">选择</td>
    <td align="center"  class="thbt hr">标题</td>
    <td align="center"  class="thbt hr">栏目</td>
    <td align="center"  class="thbt hr">责任人</td>
    <td align="center"  class="thbt hr">发布时间</td>
    <td align="center"  class="thbt">操作</td>
  </tr>
    </thead>
	<tbody>
<?php if(is_array($list))  foreach($list as $oj) { ?>
  <tr class="artlist">
    <td width='4%'><?php echo isset($oj->id)?$oj->id:"";?></td>
    <td><input name="all[]" type="checkbox" id="arcID" value="<?php echo isset($oj->id)?$oj->id:"";?>" class="np" /> </td>
    <td class="txtl">&nbsp;<a href="?c=article&a=mod&id=<?php echo isset($oj->id)?$oj->id:"";?>"><?php echo isset($oj->title)?$oj->title:"";?></a></td>
    <td><?php echo isset($oj->typename)?$oj->typename:"";?></td>
    <td><?php echo isset($oj->writer)?$oj->writer:"";?></td>
    <td><?php echo date("Y-m-d",$oj->startdate);?></td>

    <td><a class="del" href='javascript:alert_del("?c=article&a=del&id=<?php echo isset($oj->id)?$oj->id:"";?>")'>删除</a></td>
  </tr>
  <?php }?></tbody>
</table>	
<div class="pages"><?php $p=new page(); echo $p->pagelist("page=$page&total=$total&pagesize=$pagesize&nostatic=1 "); ?></div>
<div class="xuanxiang">	
<input class="button" type="button" name="chkall" value="全选" onClick="CheckAll(this.form)">
<input class="button" type="button" name="chksel" value="反选" onClick="ContraSel(this.form)">
		管理选项：
		<select name="act" class="selecth input200" style="width:150px;">
			<option value="0">请选择操作选项</option>
			<option value="批量删除">批量删除</option>
			<option value="批量审核">批量审核</option>
			<option value="取消审核">取消审核</option>
		</select>
		<input class="button" type="submit" name="submit_button1" value="执行操作" onclick="return confirm('您确定执行该操作吗?');">
</div>
<input type="hidden" name="a" value="data_pl" >
<input type="hidden" name="page" value="<?php echo isset($page)?$page:"";?>">
</form>
<script type="text/javascript">
    <!--
    $(document).ready(function () {
        $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
    });

    //-->
    function alert_del(url) {
        if (confirm("您确定要删除吗？"))
            window.location = url;
        return false;
    }
</script>
</body>
</html>